﻿@{
    if (Html.ViewContext.RouteData.GetRequiredString("controller") == "Admin")
    {
        Layout = "~/Views/Shared/_AdminLayout.cshtml";
    }
    else if (Html.ViewContext.RouteData.GetRequiredString("controller") == "Mobile")
    {
        Layout = "~/Views/Shared/_MobileLayout.cshtml";
    }
    else
    { 
        Layout = "~/Views/Shared/_Layout.cshtml";
    }   
}